package com.tjetc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data //自动生成getter setter toString 等方法
@NoArgsConstructor //自动生成无参构造方法
@AllArgsConstructor //自动生成全参构造方法
public class Boss extends Person {
    private int id;
    private String username;
    private String password;
    private String name;
    private String phone;

    public Boss(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
